package cn.ulc.socket.admin.service.marketing;

import cn.ulc.common.constant.enums.AvailableStatus;
import cn.ulc.common.model.param.PaginationParam;
import cn.ulc.socket.admin.model.dto.activity.ActivityDTO;
import cn.ulc.socket.admin.model.dto.activity.ActivityListDTO;
import cn.ulc.socket.admin.model.param.activity.ActivityParam;

public interface ActivityServ {

    ActivityListDTO findList(String key,String startDate,String endDate, PaginationParam pager);

    ActivityDTO findDetail(Long id);

    Long saveOne(ActivityParam param);

    Boolean changeStatus(Long id, AvailableStatus status);

    Boolean deleteOne(Long id);
}
